package com.dingyuhang.service;


import com.dingyuhang.bean.Topic;
import com.dingyuhang.bean.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TopicService {

	void publishTopic(Topic topic, User user);

	int countTopics(Integer id);

	List<Topic> getMyTopics(User user);

	Topic topicRelpy(Integer id);

	PageInfo<Topic> selectTopicsByForumId(Integer forumId, Integer pageNum);


}
